package edu.rpi.tw.pml.browsing.client;

import java.util.ArrayList;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface FacetSearchServiceAsync {

	/*
	 * Get instances according to user selected facet values.
	 */
	void getInstances(ArrayList<String> conceptList,
			AsyncCallback<String> callback);

	/*
	 * Get all facet names.
	 */
	void getAllFacets(AsyncCallback<String> callback);

	/*
	 * Get all concepts/classes.
	 */
	void getAllConcepts(AsyncCallback<String> callback);

	/*
	 * Get all instances from remote SPARQL endpoint.
	 */
	void getAllInstances(AsyncCallback<String> callback);

	/*
	 * Get values for a given facet.
	 */
	void getValuesByFacetName(String facetName, AsyncCallback<String> callback);

}
